This interface allows custom pages to control the state of the entire PropertySheet control frame that combines multiple property pages from different extensions in one set.
Name | Description |
---|---|
Refreshes the entire frame and make all pages reread information from the vault object. |
|
String. Sets new object name in frame caption if page renamed object. |
|
Long. General frame capabilities. See AMPS_FLAGS constants. |
Remarks
Identify the frame’s button state as a value from AMPP_BUTTONS constants and get or set the state with a combination of AMPS_FLAGS constants.
(missing or bad snippet)Name property
Example
Dim rh As IAMRefreshHost
Set rh = m_Designer.GetHostService(SERVICE_REFRESHHOST)
‘Rename current document
Dim Doc As AMDocument
Set Doc = Designer.ExtensionHost.CurrentObject
Doc.DisplayName = ‘New Name”
‘Refresh frame caption
rh.ObjectName = “New Object Name”
‘Refresh other pages
rh.Refresh()